/*
 * Operations.h
 *
 *  Created on: Mar 29, 2011
 *      Author: curt
 */

#ifndef OPERATIONS_H_
#define OPERATIONS_H_

template<typename T>
struct plus {
	typedef T ValueType;
	__device__ __host__ T operator()(T x, T y){ return x + y; }
	__device__ __host__ T identity(){ return T(0); }
};



#endif /* OPERATIONS_H_ */
